Using Cloud Datastore
This sample application shows how to use Google Cloud Datastore on Google App Engine.
App Engine standard environment users: See tutorial Using Cloud Datastore for more information on running and deploying this app.
App Engine flexible environment users: See tutorial Using Cloud Datastore for more information on running and deploying this app.
Setup​
Before you can run or deploy the sample, you need to do the following:
-
Refer to the appengine/README.md file for instructions on running and deploying.
-
Install dependencies:
npm install
Running locally​
npm start
Deploying to App Engine standard environment​
gcloud app deploy app.standard.yaml
Deploying to App Engine flexible environment for Node.js 16 and earlier​
gcloud app deploy app.flexible.yaml
Deploying to App Engine flexible environment for Node.js 18 and later​
gcloud app deploy app.flexible_os.yaml
Running the tests​
See Contributing.